package cn.iocoder.yudao.module.crm.controller.admin.fielddata.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 数据映射 Response VO")
@Data
@ExcelIgnoreUnannotated
public class FieldDataRespVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "9088")
    @ExcelProperty("编号")
    private Long id;

    @Schema(description = "所属页面", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("所属页面")
    private String pageCode;

    @Schema(description = "原始数据id", requiredMode = Schema.RequiredMode.REQUIRED, example = "6345")
    @ExcelProperty("原始数据id")
    private Long dataId;

    @Schema(description = "自定义字段数据值", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("自定义字段数据值")
    private String fieldData;

    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}